package org.springframework.nio.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface Handler {

	/**
	 * 注解主协议号
	 * @return
	 */
	public  short mainId() default -1 ;
	
	/**
	 * 注解子协议号
	 * @return
	 */
	public short moudleId();
	
}
